<template>
    <div class="container" style="min-height: 450px">
        <el-tabs style="height: 200px;">
            <el-tab-pane label="runBat管理">
                <run-bat-index ref="runBatIndexTab"></run-bat-index>
            </el-tab-pane>
            <el-tab-pane label="异常管理">
                <logback-log-index ref="logbackIndexTab" ></logback-log-index>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
import runBatIndex from './runBat/runBatIndex';
import logbackLogIndex from './logback/LogbackLogIndex';

export default {
    name: 'mgrIndex',
    mounted() {
    },
    components: {
        runBatIndex,
        logbackLogIndex
    },
    props: {},
    data() {
        return {
        }
    },
    computed: {},
    methods: {
        // userIndexInit() {
        //     this.$nextTick(() => {
        //         this.$refs.userIndexTab.loadData();
        //     })
        // },
        // orderIndexInit() {
        //     // this.$nextTick(() => {
        //     //     this.$refs.orderIndexTab.loadData();
        //     // })
        // },
    },
    watch: {
        // active: function (val) {
        //     switch (val) {
        //         case 'userIndexInfo':
        //             this.userIndexInit();
        //             break;
        //         case 'orderIndexInfo':
        //             this.orderIndexInit();
        //             break;
        //     }
        // }
    },
    filters: {},
    beforeDestroy() {

    }
}
</script>

